package com.yunxi.model.market;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 市场活动项目表
 * </p>
 *
 * @author 
 * @since 2019-08-17
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_market_activity_item")
@ApiModel(value="MarketActivityItem对象", description="市场活动项目表")
public class MarketActivityItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ITEM_ID", type = IdType.UUID)
    private String itemId;

    @ApiModelProperty(value = "活动编号")
    @TableField("ACTIVITY_CODE")
    private String activityCode;

    @ApiModelProperty(value = "项目名称")
    @TableField("ITEM_NAME")
    private String itemName;

    @ApiModelProperty(value = "项目描述")
    @TableField("ITEM_DESC")
    private String itemDesc;

    @ApiModelProperty(value = "项目类型")
    @TableField("ITEM_TYPE")
    private Integer itemType;

    @ApiModelProperty(value = "项目预估费用")
    @TableField("ITEM_COST")
    private BigDecimal itemCost;

    @ApiModelProperty(value = "项目实际费用")
    @TableField("REAL_ITEM_COST")
    private BigDecimal realItemCost;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "启用或禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "渠道商编码")
    @TableField("PARTNER_CODE")
    private String partnerCode;


}
